function r = CalcPpedSimple(pnums, ssf)
    Wp = load('workParams.mat');
   
    r = [];
    for i = 1:length(pnums)
        curColNum = pnums(i);
        pname = cell2mat(Wp.k(curColNum));
        pinfo = Wp.pdm(pname);
        defVal = pinfo(1);    
        
        [ls,rs] = GetOptShift(curColNum);
        leftVal = defVal - ls * ssf(curColNum);
        
        pinfo = Wp.pdm(cell2mat(Wp.k(i)));
        if defVal > 0 && pinfo(2) >= 0 && leftVal < 0
            leftVal = defVal - ls;
        end
        
        rightVal = defVal + rs * ssf(curColNum);
        r = vertcat(r,[leftVal rightVal]);
    end
end